New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: improve patch filename remembering #23070
Conversation
Merging as CI failures unrelated to PR change. |
No Release Notes |
I was unable to backport this PR to "6-1-x" cleanly; |
I was unable to backport this PR to "7-2-x" cleanly; |
I have automatically backported this PR to "9-x-y", please check out #23092 |
I have automatically backported this PR to "8-x-y", please check out #23093 |
* build: improve patch filename remembering (#23070) * update patches Co-authored-by: Electron Bot <anonymous@electronjs.org>
Description of Change
This improves the quality of the system that handles remembering what filenames patches have. Previously, it would forget the filename of a patch if a stat block was included, e.g.
because it would add the
Patch-Filename
information after the---
separator, resulting in the information not being included in the commit message.This additionally fixes an issue where the
Patch-Filename
header was being injected into the patch before everydiff --git
line, instead of only the first.Checklist
Release Notes
Notes: none